import request from '@/utils/request'

/**
 * 登录接口
 */
export function login(data) {
  return request({
    url: '/authentication/login',
    method: 'post',
    data
  })
}

/**
 * 获取router路由
 */
export function getRouters() {
  return request({
    url: '/authentication/getRouters',
    method: 'get'
  })
}
